//
//  HXQRCodeTool.h
//  爱鲜蜂
//
//  Created by 洪东恒 on 16/5/8.
//  Copyright © 2016年 建国. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "Singleton.h"

@interface HXQRCodeTool : NSObject

single_interface(HXQRCodeTool)
// 设置是否需要描绘二维码边框
@property (nonatomic, assign) BOOL isDrawQRCodeRect;

// 开始扫描
- (void)beginScanInView:(UIView *)view result:(void(^)(NSArray<NSString *> *resultStrs))resultBlock;

// 停止扫描
- (void)stopScan;

// 设置兴趣点
- (void)setInsteretRect:(CGRect)originRect;

// 移除二维码边框图层
- (void)removeShapLayers;
@end
